package com.per.mybootall.designMode.wrapper;


import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * eat增强
 * */
@Component
public class WrapperEat extends  personWrapper{
    @Resource
    personWrapper personWrapper;

    public WrapperEat(Person per) {
        super(per);
    }

    public WrapperEat() {
    }

    @Override
    public void eat() {
        System.out.println("TestWrapper    eat   =====>>>>>>>>>>>>");
    }
}
